#ifndef BOOK_H
#define BOOK_H

#include <QMainWindow>
#include <QUrl>
#include <QNetworkAccessManager>
#include<QNetworkReply>
#include<QNetworkRequest>
#include <QFileDialog>
namespace Ui {
class Book;
}

class Book : public QMainWindow
{
    Q_OBJECT

public:
    explicit Book(QWidget *parent = nullptr);
    ~Book();

private slots:

    void on_searchbtn_clicked();

    void on_filepathbtn_clicked();

    void on_updatebtn_clicked();

    void on_urlbtn_clicked();

    void on_downloadbtn_clicked();

public:
    void downLoadAction(const QUrl url);

private:
    Ui::Book *ui;

};

#endif // BOOK_H
